package com.spring.appservice.web.dao;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.spring.appservice.web.model.MessageBoard;

public interface MessageBoardMapper {
	/*
	List<Map<String, Object>> queryMsgList(Map<String, Object> m);

	int addMessageBoard(MessageBoard msgBoard);

	List<Map<String, Object>> queryMsgDetailList(Map<String, Object> m);
	
	int removeMessageBoardById(@Param(value="id") String id);*/
	
	List<HashMap> getCommunicationUnreadCount(String toUserID);
	int createCommunicationCheckExist(HashMap hm);
	int createCommunication(HashMap hm);
	int createCommunicationContent(HashMap hm);	
	
	List<HashMap> getCommunicationList(String cUserID);
	
	int checkPassword(HashMap hm);
	
	int sendMassage(HashMap hm);
	
	List<HashMap> getCommunicationContentList(HashMap hm);
	
	int updateCommunicationContentIsRead(HashMap hm);
	
	List<HashMap> getFutureMessageUnreadCount(String cUserID);
	int createFutureMessage(HashMap hm);
	
	List<HashMap> getMyFutureMessageList(HashMap hm);
	
	List<HashMap> getFutureMessageContent(String board_future_messageID);
	int updateFutureMessageContentIsRead(String board_future_messageID);
	
}
